echo start tomcat ...

set CATALINA_HOME="software/apache-tomcat-7.0.54"
set CATALINA_BASE="build/tomcat"
set JAVA_OPTS="-Dehi.resources.root=$1 -Dehi.content.root=$2 -Dext.props.path=./build/environment -Dlog.path=$LOG_HOME/tomcat -Duser.timezone=America/Los_Angeles -server -Xms256m -Xmx1024m"
set CATALINA_OPTS="-javaagent:d:/DevTools/aspectjweaver-1.8.0.jar"
set CATALINA_OPTS= %CATALINA_OPTS% "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999"
mkdir %CATALINA_BASE%/logs
mkdir %CATALINA_BASE%/temp
mkdir %CATALINA_BASE%/work
mkdir %CATALINA_BASE%/webapps
%CATALINA_HOME%/bin/catalina.bat start
